﻿@model VMC.Domain.Model.Account.LogOn

@{
    ViewBag.Title = "Log On";
}

<!--<h2>LogOn</h2>-->

@VMCHelper.WideTextInput()
<div class="left">
@using (Html.BeginForm()) {
    <fieldset class="border">
        <!--<legend>LogOn</legend>-->
		<table  class="input-form-table">
        
        <tr  >
             <td colspan="2" > Please enter your user name and password.<br /> @Html.ActionLink("Register", "Register") if you don't have an account.</td>
	    </tr>

		<tr >
			<td  colspan="2"> @Html.ValidationSummary(true)</td>
		</tr>
        <tr >
		 <td class="editor-label" >
            @Html.LabelFor(model => model.UserName) 
		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.UserName)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.UserName) </td>
		</tr>
        
        <tr >
		 <td class="editor-label" >
            @Html.LabelFor(model => model.Password) 
		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.Password)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.Password) </td>
		</tr>
        
        <tr >
		 <td class="editor-label" >
            @Html.LabelFor(model => model.RememberMe) 
		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.RememberMe)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.RememberMe) </td>
		</tr>
        
        <tr  class="submit-button">
            <td  colspan="2">  <input type="submit" icon-class="action-icon-password" value="Log On" /> </td>
		</tr>
        
	</table>
    </fieldset>
}
</div>

